<!--
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2024-07-02 21:13:54
 * @LastEditTime: 2024-07-02 21:19:03
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \html\code\2_CSS\16_CSS中常用的长度单位\03_CSS_总结各元素的显示模式.html
 * @Description:
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS_总结各元素的显示模式</title>
    <style>
        #s1 {
            background-color: skyblue;
        }

        #d2 {
            background-color: orange;
        }
    </style>
</head>

<body>
    <span id="s1">123</span><br><br>
    <div id="d2">456</div>
</body>

</html>